﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
   public class TransactionComponent
    {
        private static TransactionDAC db = new TransactionDAC();

        public static List<Transaction> Transaction_GetByTop(string Top, string Where, string Ord)
        {
            return db.Transaction_GetByTop(Top, Where, Ord);
        }

        public static void Transaction_Insert(Transaction transaction)
        {
            db.Transaction_Insert(transaction);
        }

        public static void Transaction_Update(Transaction transaction)
        {
            db.Transaction_Update(transaction);
        }
    }
}
